package com.longshen.dubbo.api.service;

import com.github.pagehelper.Page;
import com.longshen.dubbo.api.model.AdminTrade;

public interface AdminTradeService {
	
	/**
     * 
     * @Title: add   
     * @Description: 添加交易权限   
     * @param in 
     * @return: AdminTrade      
     * @throws
     */
	public AdminTrade add(AdminTrade in);
	
	/**
	 * 
	 * @Title: mod   
	 * @Description: 修改权限
	 * @param in      
	 * @return: void      
	 * @throws
	 */
	public void   mod(AdminTrade in);
	
	/**
	 * 
	 * @Title: del   
	 * @Description: 删除
	 * @param in      
	 * @return: void      
	 * @throws
	 */
	public void delById(String id);
	/**
	 * 
	 * @Title: queryPage   
	 * @Description:    
	 * @param pagesize
	 * @param pagenum
	 * @param rolename
	 * @return      
	 * @return: Page<AdminUser>      
	 * @throws
	 */
	public Page<AdminTrade> queryPage(Integer pagesize,Integer pagenum,String tradeCode,String tradeName);
	

    
}
